Skip to content

Ignore empty path elements, like BYOND does - #2678

Open
mumencoder wants to merge 1 commit into
OpenDreamProject:masterfrom
mumencoder:fix/2649-doubleslash
Open

Ignore empty path elements, like BYOND does#2678
mumencoder wants to merge 1 commit into
OpenDreamProject:masterfrom
mumencoder:fix/2649-doubleslash

Conversation

@mumencoder

Copy link
Copy Markdown
Contributor

A macro that expands to a path can be pasted directly after a slash, producing an empty path element. BYOND ignores those, we errored out. This is only reachable through macro expansion, because a literal // in source is a comment.

A macro that expands to a path can be pasted directly after a slash,
producing an empty path element. BYOND ignores those, we errored out.
This is only reachable through macro expansion, because a literal // in
source is a comment.
@boring-cyborg boring-cyborg Bot added the Compiler Involves the OpenDream compiler label Jul 24, 2026
@mumencoder

Copy link
Copy Markdown
Contributor Author

fix for #2649

@wixoaGit wixoaGit linked an issue Jul 27, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Compiler Involves the OpenDream compiler size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Preprocessor Parity Error w/ Slashes in Macros

2 participants